package com.taotao.chatbot.service.impl;

import java.util.List;

import com.taotao.chatbot.domain.po.MedDisease;
import com.taotao.chatbot.domain.po.MedPart;
import com.taotao.chatbot.domain.vo.MidDocDisVo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.taotao.chatbot.mapper.MedDepartmentMapper;

import com.taotao.chatbot.service.IMedDepartmentService;

/**
 * 器官选择Service业务层处理
 *
 * @author zt
 * @date 2025-03-02
 */
@Service
public class MedDepartmentServiceImpl implements IMedDepartmentService {
    @Autowired
    private MedDepartmentMapper medPartMapper;

    @Override
    public List<MedPart> partList() {
        return medPartMapper.partList();
    }

    @Override
    public List<MedDisease> findByIdDisease(Integer id) {
        return medPartMapper.findByIdDisease(id);
    }

    @Override
    public List<MidDocDisVo> findDoctorByDisease(Integer diseaseId) {
        return medPartMapper.findDoctorByDisease(diseaseId);
    }
}
